<?php


abstract class BaseFunrPersonarel extends BaseObject  implements Persistent {


	
	protected static $peer;


	
	protected $funr_personarel_id;


	
	protected $funper_nombre;


	
	protected $funper_apellido;


	
	protected $funper_edad;


	
	protected $funper_sexo;


	
	protected $funper_direccion;


	
	protected $funper_telefono;


	
	protected $funper_escolaridad;


	
	protected $funper_ocupacion;


	
	protected $funper_ecivil;


	
	protected $funper_ingreso;


	
	protected $funper_bonosoli;


	
	protected $funper_denunciante;


	
	protected $funper_estado;


	
	protected $funt_caso_id;


	
	protected $funr_tiporelacion_id;

	
	protected $aFuntCaso;

	
	protected $aFunrTiporelacion;

	
	protected $alreadyInSave = false;

	
	protected $alreadyInValidation = false;

	
	public function getFunrPersonarelId()
	{

		return $this->funr_personarel_id;
	}

	
	public function getFunperNombre()
	{

		return $this->funper_nombre;
	}

	
	public function getFunperApellido()
	{

		return $this->funper_apellido;
	}

	
	public function getFunperEdad()
	{

		return $this->funper_edad;
	}

	
	public function getFunperSexo()
	{

		return $this->funper_sexo;
	}

	
	public function getFunperDireccion()
	{

		return $this->funper_direccion;
	}

	
	public function getFunperTelefono()
	{

		return $this->funper_telefono;
	}

	
	public function getFunperEscolaridad()
	{

		return $this->funper_escolaridad;
	}

	
	public function getFunperOcupacion()
	{

		return $this->funper_ocupacion;
	}

	
	public function getFunperEcivil()
	{

		return $this->funper_ecivil;
	}

	
	public function getFunperIngreso()
	{

		return $this->funper_ingreso;
	}

	
	public function getFunperBonosoli()
	{

		return $this->funper_bonosoli;
	}

	
	public function getFunperDenunciante()
	{

		return $this->funper_denunciante;
	}

	
	public function getFunperEstado()
	{

		return $this->funper_estado;
	}

	
	public function getFuntCasoId()
	{

		return $this->funt_caso_id;
	}

	
	public function getFunrTiporelacionId()
	{

		return $this->funr_tiporelacion_id;
	}

	
	public function setFunrPersonarelId($v)
	{

		
		
		if ($v !== null && !is_int($v) && is_numeric($v)) {
			$v = (int) $v;
		}

		if ($this->funr_personarel_id !== $v) {
			$this->funr_personarel_id = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNR_PERSONAREL_ID;
		}

	} 
	
	public function setFunperNombre($v)
	{

		
		
		if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->funper_nombre !== $v) {
			$this->funper_nombre = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_NOMBRE;
		}

	} 
	
	public function setFunperApellido($v)
	{

		
		
		if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->funper_apellido !== $v) {
			$this->funper_apellido = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_APELLIDO;
		}

	} 
	
	public function setFunperEdad($v)
	{

		
		
		if ($v !== null && !is_int($v) && is_numeric($v)) {
			$v = (int) $v;
		}

		if ($this->funper_edad !== $v) {
			$this->funper_edad = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_EDAD;
		}

	} 
	
	public function setFunperSexo($v)
	{

		
		
		if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->funper_sexo !== $v) {
			$this->funper_sexo = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_SEXO;
		}

	} 
	
	public function setFunperDireccion($v)
	{

		
		
		if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->funper_direccion !== $v) {
			$this->funper_direccion = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_DIRECCION;
		}

	} 
	
	public function setFunperTelefono($v)
	{

		
		
		if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->funper_telefono !== $v) {
			$this->funper_telefono = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_TELEFONO;
		}

	} 
	
	public function setFunperEscolaridad($v)
	{

		
		
		if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->funper_escolaridad !== $v) {
			$this->funper_escolaridad = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_ESCOLARIDAD;
		}

	} 
	
	public function setFunperOcupacion($v)
	{

		
		
		if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->funper_ocupacion !== $v) {
			$this->funper_ocupacion = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_OCUPACION;
		}

	} 
	
	public function setFunperEcivil($v)
	{

		
		
		if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->funper_ecivil !== $v) {
			$this->funper_ecivil = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_ECIVIL;
		}

	} 
	
	public function setFunperIngreso($v)
	{

		if ($this->funper_ingreso !== $v) {
			$this->funper_ingreso = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_INGRESO;
		}

	} 
	
	public function setFunperBonosoli($v)
	{

		
		
		if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->funper_bonosoli !== $v) {
			$this->funper_bonosoli = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_BONOSOLI;
		}

	} 
	
	public function setFunperDenunciante($v)
	{

		
		
		if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->funper_denunciante !== $v) {
			$this->funper_denunciante = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_DENUNCIANTE;
		}

	} 
	
	public function setFunperEstado($v)
	{

		
		
		if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->funper_estado !== $v) {
			$this->funper_estado = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNPER_ESTADO;
		}

	} 
	
	public function setFuntCasoId($v)
	{

		
		
		if ($v !== null && !is_int($v) && is_numeric($v)) {
			$v = (int) $v;
		}

		if ($this->funt_caso_id !== $v) {
			$this->funt_caso_id = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNT_CASO_ID;
		}

		if ($this->aFuntCaso !== null && $this->aFuntCaso->getFuntCasoId() !== $v) {
			$this->aFuntCaso = null;
		}

	} 
	
	public function setFunrTiporelacionId($v)
	{

		
		
		if ($v !== null && !is_int($v) && is_numeric($v)) {
			$v = (int) $v;
		}

		if ($this->funr_tiporelacion_id !== $v) {
			$this->funr_tiporelacion_id = $v;
			$this->modifiedColumns[] = FunrPersonarelPeer::FUNR_TIPORELACION_ID;
		}

		if ($this->aFunrTiporelacion !== null && $this->aFunrTiporelacion->getFunrTiporelacionId() !== $v) {
			$this->aFunrTiporelacion = null;
		}

	} 
	
	public function hydrate(ResultSet $rs, $startcol = 1)
	{
		try {

			$this->funr_personarel_id = $rs->getInt($startcol + 0);

			$this->funper_nombre = $rs->getString($startcol + 1);

			$this->funper_apellido = $rs->getString($startcol + 2);

			$this->funper_edad = $rs->getInt($startcol + 3);

			$this->funper_sexo = $rs->getString($startcol + 4);

			$this->funper_direccion = $rs->getString($startcol + 5);

			$this->funper_telefono = $rs->getString($startcol + 6);

			$this->funper_escolaridad = $rs->getString($startcol + 7);

			$this->funper_ocupacion = $rs->getString($startcol + 8);

			$this->funper_ecivil = $rs->getString($startcol + 9);

			$this->funper_ingreso = $rs->getFloat($startcol + 10);

			$this->funper_bonosoli = $rs->getString($startcol + 11);

			$this->funper_denunciante = $rs->getString($startcol + 12);

			$this->funper_estado = $rs->getString($startcol + 13);

			$this->funt_caso_id = $rs->getInt($startcol + 14);

			$this->funr_tiporelacion_id = $rs->getInt($startcol + 15);

			$this->resetModified();

			$this->setNew(false);

						return $startcol + 16; 
		} catch (Exception $e) {
			throw new PropelException("Error populating FunrPersonarel object", $e);
		}
	}

	
	public function delete($con = null)
	{
		if ($this->isDeleted()) {
			throw new PropelException("This object has already been deleted.");
		}

		if ($con === null) {
			$con = Propel::getConnection(FunrPersonarelPeer::DATABASE_NAME);
		}

		try {
			$con->begin();
			FunrPersonarelPeer::doDelete($this, $con);
			$this->setDeleted(true);
			$con->commit();
		} catch (PropelException $e) {
			$con->rollback();
			throw $e;
		}
	}

	
	public function save($con = null)
	{
		if ($this->isDeleted()) {
			throw new PropelException("You cannot save an object that has been deleted.");
		}

		if ($con === null) {
			$con = Propel::getConnection(FunrPersonarelPeer::DATABASE_NAME);
		}

		try {
			$con->begin();
			$affectedRows = $this->doSave($con);
			$con->commit();
			return $affectedRows;
		} catch (PropelException $e) {
			$con->rollback();
			throw $e;
		}
	}

	
	protected function doSave($con)
	{
		$affectedRows = 0; 		if (!$this->alreadyInSave) {
			$this->alreadyInSave = true;


												
			if ($this->aFuntCaso !== null) {
				if ($this->aFuntCaso->isModified()) {
					$affectedRows += $this->aFuntCaso->save($con);
				}
				$this->setFuntCaso($this->aFuntCaso);
			}

			if ($this->aFunrTiporelacion !== null) {
				if ($this->aFunrTiporelacion->isModified()) {
					$affectedRows += $this->aFunrTiporelacion->save($con);
				}
				$this->setFunrTiporelacion($this->aFunrTiporelacion);
			}


						if ($this->isModified()) {
				if ($this->isNew()) {
					$pk = FunrPersonarelPeer::doInsert($this, $con);
					$affectedRows += 1; 										 										 
					$this->setFunrPersonarelId($pk);  
					$this->setNew(false);
				} else {
					$affectedRows += FunrPersonarelPeer::doUpdate($this, $con);
				}
				$this->resetModified(); 			}

			$this->alreadyInSave = false;
		}
		return $affectedRows;
	} 
	
	protected $validationFailures = array();

	
	public function getValidationFailures()
	{
		return $this->validationFailures;
	}

	
	public function validate($columns = null)
	{
		$res = $this->doValidate($columns);
		if ($res === true) {
			$this->validationFailures = array();
			return true;
		} else {
			$this->validationFailures = $res;
			return false;
		}
	}

	
	protected function doValidate($columns = null)
	{
		if (!$this->alreadyInValidation) {
			$this->alreadyInValidation = true;
			$retval = null;

			$failureMap = array();


												
			if ($this->aFuntCaso !== null) {
				if (!$this->aFuntCaso->validate($columns)) {
					$failureMap = array_merge($failureMap, $this->aFuntCaso->getValidationFailures());
				}
			}

			if ($this->aFunrTiporelacion !== null) {
				if (!$this->aFunrTiporelacion->validate($columns)) {
					$failureMap = array_merge($failureMap, $this->aFunrTiporelacion->getValidationFailures());
				}
			}


			if (($retval = FunrPersonarelPeer::doValidate($this, $columns)) !== true) {
				$failureMap = array_merge($failureMap, $retval);
			}



			$this->alreadyInValidation = false;
		}

		return (!empty($failureMap) ? $failureMap : true);
	}

	
	public function getByName($name, $type = BasePeer::TYPE_PHPNAME)
	{
		$pos = FunrPersonarelPeer::translateFieldName($name, $type, BasePeer::TYPE_NUM);
		return $this->getByPosition($pos);
	}

	
	public function getByPosition($pos)
	{
		switch($pos) {
			case 0:
				return $this->getFunrPersonarelId();
				break;
			case 1:
				return $this->getFunperNombre();
				break;
			case 2:
				return $this->getFunperApellido();
				break;
			case 3:
				return $this->getFunperEdad();
				break;
			case 4:
				return $this->getFunperSexo();
				break;
			case 5:
				return $this->getFunperDireccion();
				break;
			case 6:
				return $this->getFunperTelefono();
				break;
			case 7:
				return $this->getFunperEscolaridad();
				break;
			case 8:
				return $this->getFunperOcupacion();
				break;
			case 9:
				return $this->getFunperEcivil();
				break;
			case 10:
				return $this->getFunperIngreso();
				break;
			case 11:
				return $this->getFunperBonosoli();
				break;
			case 12:
				return $this->getFunperDenunciante();
				break;
			case 13:
				return $this->getFunperEstado();
				break;
			case 14:
				return $this->getFuntCasoId();
				break;
			case 15:
				return $this->getFunrTiporelacionId();
				break;
			default:
				return null;
				break;
		} 	}

	
	public function toArray($keyType = BasePeer::TYPE_PHPNAME)
	{
		$keys = FunrPersonarelPeer::getFieldNames($keyType);
		$result = array(
			$keys[0] => $this->getFunrPersonarelId(),
			$keys[1] => $this->getFunperNombre(),
			$keys[2] => $this->getFunperApellido(),
			$keys[3] => $this->getFunperEdad(),
			$keys[4] => $this->getFunperSexo(),
			$keys[5] => $this->getFunperDireccion(),
			$keys[6] => $this->getFunperTelefono(),
			$keys[7] => $this->getFunperEscolaridad(),
			$keys[8] => $this->getFunperOcupacion(),
			$keys[9] => $this->getFunperEcivil(),
			$keys[10] => $this->getFunperIngreso(),
			$keys[11] => $this->getFunperBonosoli(),
			$keys[12] => $this->getFunperDenunciante(),
			$keys[13] => $this->getFunperEstado(),
			$keys[14] => $this->getFuntCasoId(),
			$keys[15] => $this->getFunrTiporelacionId(),
		);
		return $result;
	}

	
	public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
	{
		$pos = FunrPersonarelPeer::translateFieldName($name, $type, BasePeer::TYPE_NUM);
		return $this->setByPosition($pos, $value);
	}

	
	public function setByPosition($pos, $value)
	{
		switch($pos) {
			case 0:
				$this->setFunrPersonarelId($value);
				break;
			case 1:
				$this->setFunperNombre($value);
				break;
			case 2:
				$this->setFunperApellido($value);
				break;
			case 3:
				$this->setFunperEdad($value);
				break;
			case 4:
				$this->setFunperSexo($value);
				break;
			case 5:
				$this->setFunperDireccion($value);
				break;
			case 6:
				$this->setFunperTelefono($value);
				break;
			case 7:
				$this->setFunperEscolaridad($value);
				break;
			case 8:
				$this->setFunperOcupacion($value);
				break;
			case 9:
				$this->setFunperEcivil($value);
				break;
			case 10:
				$this->setFunperIngreso($value);
				break;
			case 11:
				$this->setFunperBonosoli($value);
				break;
			case 12:
				$this->setFunperDenunciante($value);
				break;
			case 13:
				$this->setFunperEstado($value);
				break;
			case 14:
				$this->setFuntCasoId($value);
				break;
			case 15:
				$this->setFunrTiporelacionId($value);
				break;
		} 	}

	
	public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME)
	{
		$keys = FunrPersonarelPeer::getFieldNames($keyType);

		if (array_key_exists($keys[0], $arr)) $this->setFunrPersonarelId($arr[$keys[0]]);
		if (array_key_exists($keys[1], $arr)) $this->setFunperNombre($arr[$keys[1]]);
		if (array_key_exists($keys[2], $arr)) $this->setFunperApellido($arr[$keys[2]]);
		if (array_key_exists($keys[3], $arr)) $this->setFunperEdad($arr[$keys[3]]);
		if (array_key_exists($keys[4], $arr)) $this->setFunperSexo($arr[$keys[4]]);
		if (array_key_exists($keys[5], $arr)) $this->setFunperDireccion($arr[$keys[5]]);
		if (array_key_exists($keys[6], $arr)) $this->setFunperTelefono($arr[$keys[6]]);
		if (array_key_exists($keys[7], $arr)) $this->setFunperEscolaridad($arr[$keys[7]]);
		if (array_key_exists($keys[8], $arr)) $this->setFunperOcupacion($arr[$keys[8]]);
		if (array_key_exists($keys[9], $arr)) $this->setFunperEcivil($arr[$keys[9]]);
		if (array_key_exists($keys[10], $arr)) $this->setFunperIngreso($arr[$keys[10]]);
		if (array_key_exists($keys[11], $arr)) $this->setFunperBonosoli($arr[$keys[11]]);
		if (array_key_exists($keys[12], $arr)) $this->setFunperDenunciante($arr[$keys[12]]);
		if (array_key_exists($keys[13], $arr)) $this->setFunperEstado($arr[$keys[13]]);
		if (array_key_exists($keys[14], $arr)) $this->setFuntCasoId($arr[$keys[14]]);
		if (array_key_exists($keys[15], $arr)) $this->setFunrTiporelacionId($arr[$keys[15]]);
	}

	
	public function buildCriteria()
	{
		$criteria = new Criteria(FunrPersonarelPeer::DATABASE_NAME);

		if ($this->isColumnModified(FunrPersonarelPeer::FUNR_PERSONAREL_ID)) $criteria->add(FunrPersonarelPeer::FUNR_PERSONAREL_ID, $this->funr_personarel_id);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_NOMBRE)) $criteria->add(FunrPersonarelPeer::FUNPER_NOMBRE, $this->funper_nombre);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_APELLIDO)) $criteria->add(FunrPersonarelPeer::FUNPER_APELLIDO, $this->funper_apellido);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_EDAD)) $criteria->add(FunrPersonarelPeer::FUNPER_EDAD, $this->funper_edad);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_SEXO)) $criteria->add(FunrPersonarelPeer::FUNPER_SEXO, $this->funper_sexo);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_DIRECCION)) $criteria->add(FunrPersonarelPeer::FUNPER_DIRECCION, $this->funper_direccion);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_TELEFONO)) $criteria->add(FunrPersonarelPeer::FUNPER_TELEFONO, $this->funper_telefono);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_ESCOLARIDAD)) $criteria->add(FunrPersonarelPeer::FUNPER_ESCOLARIDAD, $this->funper_escolaridad);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_OCUPACION)) $criteria->add(FunrPersonarelPeer::FUNPER_OCUPACION, $this->funper_ocupacion);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_ECIVIL)) $criteria->add(FunrPersonarelPeer::FUNPER_ECIVIL, $this->funper_ecivil);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_INGRESO)) $criteria->add(FunrPersonarelPeer::FUNPER_INGRESO, $this->funper_ingreso);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_BONOSOLI)) $criteria->add(FunrPersonarelPeer::FUNPER_BONOSOLI, $this->funper_bonosoli);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_DENUNCIANTE)) $criteria->add(FunrPersonarelPeer::FUNPER_DENUNCIANTE, $this->funper_denunciante);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNPER_ESTADO)) $criteria->add(FunrPersonarelPeer::FUNPER_ESTADO, $this->funper_estado);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNT_CASO_ID)) $criteria->add(FunrPersonarelPeer::FUNT_CASO_ID, $this->funt_caso_id);
		if ($this->isColumnModified(FunrPersonarelPeer::FUNR_TIPORELACION_ID)) $criteria->add(FunrPersonarelPeer::FUNR_TIPORELACION_ID, $this->funr_tiporelacion_id);

		return $criteria;
	}

	
	public function buildPkeyCriteria()
	{
		$criteria = new Criteria(FunrPersonarelPeer::DATABASE_NAME);

		$criteria->add(FunrPersonarelPeer::FUNR_PERSONAREL_ID, $this->funr_personarel_id);

		return $criteria;
	}

	
	public function getPrimaryKey()
	{
		return $this->getFunrPersonarelId();
	}

	
	public function setPrimaryKey($key)
	{
		$this->setFunrPersonarelId($key);
	}

	
	public function copyInto($copyObj, $deepCopy = false)
	{

		$copyObj->setFunperNombre($this->funper_nombre);

		$copyObj->setFunperApellido($this->funper_apellido);

		$copyObj->setFunperEdad($this->funper_edad);

		$copyObj->setFunperSexo($this->funper_sexo);

		$copyObj->setFunperDireccion($this->funper_direccion);

		$copyObj->setFunperTelefono($this->funper_telefono);

		$copyObj->setFunperEscolaridad($this->funper_escolaridad);

		$copyObj->setFunperOcupacion($this->funper_ocupacion);

		$copyObj->setFunperEcivil($this->funper_ecivil);

		$copyObj->setFunperIngreso($this->funper_ingreso);

		$copyObj->setFunperBonosoli($this->funper_bonosoli);

		$copyObj->setFunperDenunciante($this->funper_denunciante);

		$copyObj->setFunperEstado($this->funper_estado);

		$copyObj->setFuntCasoId($this->funt_caso_id);

		$copyObj->setFunrTiporelacionId($this->funr_tiporelacion_id);


		$copyObj->setNew(true);

		$copyObj->setFunrPersonarelId(NULL); 
	}

	
	public function copy($deepCopy = false)
	{
				$clazz = get_class($this);
		$copyObj = new $clazz();
		$this->copyInto($copyObj, $deepCopy);
		return $copyObj;
	}

	
	public function getPeer()
	{
		if (self::$peer === null) {
			self::$peer = new FunrPersonarelPeer();
		}
		return self::$peer;
	}

	
	public function setFuntCaso($v)
	{


		if ($v === null) {
			$this->setFuntCasoId(NULL);
		} else {
			$this->setFuntCasoId($v->getFuntCasoId());
		}


		$this->aFuntCaso = $v;
	}


	
	public function getFuntCaso($con = null)
	{
		if ($this->aFuntCaso === null && ($this->funt_caso_id !== null)) {
						include_once 'lib/model/om/BaseFuntCasoPeer.php';

			$this->aFuntCaso = FuntCasoPeer::retrieveByPK($this->funt_caso_id, $con);

			
		}
		return $this->aFuntCaso;
	}

	
	public function setFunrTiporelacion($v)
	{


		if ($v === null) {
			$this->setFunrTiporelacionId(NULL);
		} else {
			$this->setFunrTiporelacionId($v->getFunrTiporelacionId());
		}


		$this->aFunrTiporelacion = $v;
	}


	
	public function getFunrTiporelacion($con = null)
	{
		if ($this->aFunrTiporelacion === null && ($this->funr_tiporelacion_id !== null)) {
						include_once 'lib/model/om/BaseFunrTiporelacionPeer.php';

			$this->aFunrTiporelacion = FunrTiporelacionPeer::retrieveByPK($this->funr_tiporelacion_id, $con);

			
		}
		return $this->aFunrTiporelacion;
	}

} 